Auto merge of #3928 - andwur:version-not-found-error-msgs, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 18 Apr 2017 06:12:37 +0000 (06:12 +0000)
committerbors <bors@rust-lang.org>
Tue, 18 Apr 2017 06:12:37 +0000 (06:12 +0000)
Better error message when a package version is not found

This changes the error message when a package *is* found but there's no
matching version to be a little more helpful.

Old: "no matching package named `<dep name>`"
New: "no matching version `<version>` found for package `<dep name>`"

Fixes #2997

1  2 
tests/build.rs

diff --cc tests/build.rs
Simple merge